package com.ruoyi.legal.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 消息提醒对象 tb_message
 *
 * @author xwj
 * @date 2025-06-06
 */
@TableName("tb_message")
@Data
public class Message extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 类型(1、案件；2、虚假材料；)
     */
    @Excel(name = "类型(1、案件；2、虚假材料；)")
    @ApiModelProperty("类型(1、案件；2、虚假材料；)")
    private String type;

    /**
     * 关联id
     */
    @Excel(name = "关联id")
    @ApiModelProperty("关联id")
    private Long relativeId;

    private String relativeName;

    /**
     * 关联key值
     */
    @Excel(name = "关联key值")
    @ApiModelProperty("关联key值")
    private String relativeKey;

    /**
     * 标题
     */
    @Excel(name = "标题")
    @ApiModelProperty("标题")
    private String title;

    /**
     * 内容
     */
    @Excel(name = "内容")
    @ApiModelProperty("内容")
    private String content;

    /**
     * 0未读、1已读
     */
    @Excel(name = "0未读、1已读")
    @ApiModelProperty("0未读、1已读")
    private Integer status;

    /**
     * 提醒用户id
     */
    @Excel(name = "提醒用户id")
    @ApiModelProperty("提醒用户id")
    private Long userId;
    @ApiModelProperty("提醒用户姓名")
    private String userName;

    /**
     * 创建人id
     */
    @Excel(name = "创建人id")
    @ApiModelProperty("创建人id")
    private Long createId;
    private Date createTime;
    private String createBy;
    /**
     * 更新人id
     */
    @Excel(name = "更新人id")
    @ApiModelProperty("更新人id")
    private Long updateId;
    private Date updateTime;
    private String updateBy;

}
